Dynomotion

Group: DynoMotion Message: 3506 From: himykabibble Date: 1/27/2012
Subject: Getting Out Of FeedHold
Tom,

I'm trying to clean up my FeedHold, and I'm stuck on how to get the machine going again. I use GetStopState and StopImmediate to do the FeedHold, and that much works fine. But how do I resume program execution? Nothing I've tried seems to work, and there are multiple Halts and Halt status available in CoordMotion and Interpreter, so I don't know which ones I should be using, or how. I've looked at KMotionCNC, but if I'm reading it right, it seems to be setting CoordMotion.m_PreviouslyStopped which I don't see in dotNet.

This highlights one of the problems I've been having in trying to implement this app with dotNet. There are many instances where seemingly identical information and controls are provided in different places (some not, to me, very logical). There is not always an obvious mapping between what I see in KMotionCNC, and what I see in dotNet, hence my many (probably seemingly stupid) questions. Halt is a good example. We have Interpreter.Halt(), and CoordMotion.Halt(), and CoordMotion.ExecutionStop(). What is the difference between them, and how do they interact? Then we have CoordMotion.ClearHalt(), and Interpreter.CanResume, neither of which seems to do anything that I can see.

Regards,
Ray L.
Group: DynoMotion Message: 3508 From: Brad Murry Date: 1/27/2012
Subject: Re: Getting Out Of FeedHold

Ray,

 

I am using this as KMCNC does to toggle pause::

 

        public void CyclePause()

        {

            if (IsConnected)

            {

                var response = _Controller.WriteLineReadLine("GetStopState");

 

                if (response == "0")

                {

                    _Controller.WriteLine("StopImmediate0");

                    IsInterpreterPaused = true;

                }

                else

                {

                    _Controller.WriteLine("StopImmediate1");

                    IsInterpreterPaused = false;

                }

            }

        }

 

-Brad Murry

From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On Behalf Of himykabibble
Sent: Friday, January 27, 2012 3:29 PM
To: DynoMotion@yahoogroups.com
Subject: [DynoMotion] Getting Out Of FeedHold

 

 

Tom,

I'm trying to clean up my FeedHold, and I'm stuck on how to get the machine going again. I use GetStopState and StopImmediate to do the FeedHold, and that much works fine. But how do I resume program execution? Nothing I've tried seems to work, and there are multiple Halts and Halt status available in CoordMotion and Interpreter, so I don't know which ones I should be using, or how. I've looked at KMotionCNC, but if I'm reading it right, it seems to be setting CoordMotion.m_PreviouslyStopped which I don't see in dotNet.

This highlights one of the problems I've been having in trying to implement this app with dotNet. There are many instances where seemingly identical information and controls are provided in different places (some not, to me, very logical). There is not always an obvious mapping between what I see in KMotionCNC, and what I see in dotNet, hence my many (probably seemingly stupid) questions. Halt is a good example. We have Interpreter.Halt(), and CoordMotion.Halt(), and CoordMotion.ExecutionStop(). What is the difference between them, and how do they interact? Then we have CoordMotion.ClearHalt(), and Interpreter.CanResume, neither of which seems to do anything that I can see.

Regards,
Ray L.

Group: DynoMotion Message: 3509 From: himykabibble Date: 1/27/2012
Subject: Re: Getting Out Of FeedHold
I know we went through this once before, and I could swear I had that in there, but somehow changed it. Thanks!

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> Ray,
>
>
>
> I am using this as KMCNC does to toggle pause::
>
>
>
> public void CyclePause()
>
> {
>
> if (IsConnected)
>
> {
>
> var response =
> _Controller.WriteLineReadLine("GetStopState");
>
>
>
> if (response == "0")
>
> {
>
> _Controller.WriteLine("StopImmediate0");
>
> IsInterpreterPaused = true;
>
> }
>
> else
>
> {
>
> _Controller.WriteLine("StopImmediate1");
>
> IsInterpreterPaused = false;
>
> }
>
> }
>
> }
>
>
>
> -Brad Murry
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of himykabibble
> Sent: Friday, January 27, 2012 3:29 PM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Getting Out Of FeedHold
>
>
>
>
>
> Tom,
>
> I'm trying to clean up my FeedHold, and I'm stuck on how to get the machine
> going again. I use GetStopState and StopImmediate to do the FeedHold, and
> that much works fine. But how do I resume program execution? Nothing I've
> tried seems to work, and there are multiple Halts and Halt status available
> in CoordMotion and Interpreter, so I don't know which ones I should be
> using, or how. I've looked at KMotionCNC, but if I'm reading it right, it
> seems to be setting CoordMotion.m_PreviouslyStopped which I don't see in
> dotNet.
>
> This highlights one of the problems I've been having in trying to implement
> this app with dotNet. There are many instances where seemingly identical
> information and controls are provided in different places (some not, to me,
> very logical). There is not always an obvious mapping between what I see in
> KMotionCNC, and what I see in dotNet, hence my many (probably seemingly
> stupid) questions. Halt is a good example. We have Interpreter.Halt(), and
> CoordMotion.Halt(), and CoordMotion.ExecutionStop(). What is the difference
> between them, and how do they interact? Then we have
> CoordMotion.ClearHalt(), and Interpreter.CanResume, neither of which seems
> to do anything that I can see.
>
> Regards,
> Ray L.
>
Group: DynoMotion Message: 3510 From: himykabibble Date: 1/27/2012
Subject: Re: Getting Out Of FeedHold
Brad,

Can you tell me how/where the interpreter finds the tool table file? And how I can force it to a specific file/path, if possible?

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@...> wrote:
>
> Ray,
>
>
>
> I am using this as KMCNC does to toggle pause::
>
>
>
> public void CyclePause()
>
> {
>
> if (IsConnected)
>
> {
>
> var response =
> _Controller.WriteLineReadLine("GetStopState");
>
>
>
> if (response == "0")
>
> {
>
> _Controller.WriteLine("StopImmediate0");
>
> IsInterpreterPaused = true;
>
> }
>
> else
>
> {
>
> _Controller.WriteLine("StopImmediate1");
>
> IsInterpreterPaused = false;
>
> }
>
> }
>
> }
>
>
>
> -Brad Murry
>
> From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> Behalf Of himykabibble
> Sent: Friday, January 27, 2012 3:29 PM
> To: DynoMotion@yahoogroups.com
> Subject: [DynoMotion] Getting Out Of FeedHold
>
>
>
>
>
> Tom,
>
> I'm trying to clean up my FeedHold, and I'm stuck on how to get the machine
> going again. I use GetStopState and StopImmediate to do the FeedHold, and
> that much works fine. But how do I resume program execution? Nothing I've
> tried seems to work, and there are multiple Halts and Halt status available
> in CoordMotion and Interpreter, so I don't know which ones I should be
> using, or how. I've looked at KMotionCNC, but if I'm reading it right, it
> seems to be setting CoordMotion.m_PreviouslyStopped which I don't see in
> dotNet.
>
> This highlights one of the problems I've been having in trying to implement
> this app with dotNet. There are many instances where seemingly identical
> information and controls are provided in different places (some not, to me,
> very logical). There is not always an obvious mapping between what I see in
> KMotionCNC, and what I see in dotNet, hence my many (probably seemingly
> stupid) questions. Halt is a good example. We have Interpreter.Halt(), and
> CoordMotion.Halt(), and CoordMotion.ExecutionStop(). What is the difference
> between them, and how do they interact? Then we have
> CoordMotion.ClearHalt(), and Interpreter.CanResume, neither of which seems
> to do anything that I can see.
>
> Regards,
> Ray L.
>
Group: DynoMotion Message: 3513 From: himykabibble Date: 1/27/2012
Subject: Re: Getting Out Of FeedHold
OK, never mind. I've just implemented my own tool table management.

Regards,
Ray L.

--- In DynoMotion@yahoogroups.com, "himykabibble" <jagboy@...> wrote:
>
> Brad,
>
> Can you tell me how/where the interpreter finds the tool table file? And how I can force it to a specific file/path, if possible?
>
> Regards,
> Ray L.
>
> --- In DynoMotion@yahoogroups.com, Brad Murry <bradodarb@> wrote:
> >
> > Ray,
> >
> >
> >
> > I am using this as KMCNC does to toggle pause::
> >
> >
> >
> > public void CyclePause()
> >
> > {
> >
> > if (IsConnected)
> >
> > {
> >
> > var response =
> > _Controller.WriteLineReadLine("GetStopState");
> >
> >
> >
> > if (response == "0")
> >
> > {
> >
> > _Controller.WriteLine("StopImmediate0");
> >
> > IsInterpreterPaused = true;
> >
> > }
> >
> > else
> >
> > {
> >
> > _Controller.WriteLine("StopImmediate1");
> >
> > IsInterpreterPaused = false;
> >
> > }
> >
> > }
> >
> > }
> >
> >
> >
> > -Brad Murry
> >
> > From: DynoMotion@yahoogroups.com [mailto:DynoMotion@yahoogroups.com] On
> > Behalf Of himykabibble
> > Sent: Friday, January 27, 2012 3:29 PM
> > To: DynoMotion@yahoogroups.com
> > Subject: [DynoMotion] Getting Out Of FeedHold
> >
> >
> >
> >
> >
> > Tom,
> >
> > I'm trying to clean up my FeedHold, and I'm stuck on how to get the machine
> > going again. I use GetStopState and StopImmediate to do the FeedHold, and
> > that much works fine. But how do I resume program execution? Nothing I've
> > tried seems to work, and there are multiple Halts and Halt status available
> > in CoordMotion and Interpreter, so I don't know which ones I should be
> > using, or how. I've looked at KMotionCNC, but if I'm reading it right, it
> > seems to be setting CoordMotion.m_PreviouslyStopped which I don't see in
> > dotNet.
> >
> > This highlights one of the problems I've been having in trying to implement
> > this app with dotNet. There are many instances where seemingly identical
> > information and controls are provided in different places (some not, to me,
> > very logical). There is not always an obvious mapping between what I see in
> > KMotionCNC, and what I see in dotNet, hence my many (probably seemingly
> > stupid) questions. Halt is a good example. We have Interpreter.Halt(), and
> > CoordMotion.Halt(), and CoordMotion.ExecutionStop(). What is the difference
> > between them, and how do they interact? Then we have
> > CoordMotion.ClearHalt(), and Interpreter.CanResume, neither of which seems
> > to do anything that I can see.
> >
> > Regards,
> > Ray L.
> >
>